<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>">
<title>注册</title>
<link href="resources/css/jqtransform.css" rel="stylesheet"
	type="text/css" />

<script src="resources/js/jquery-1.6.2.js" type="text/javascript"></script>
<script src="resources/js/jquery.jqtransform.js" type="text/javascript"></script>
<script src="resources/js/chinaprovinces_0.1.0.js"
	type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		$(window.parent.document).find("#resizeToRegist").click();
		// 		$("#demo2").chinaprovinces({
		// 			align : 'right'
		// 		});
		$('form').jqTransform({
			imgPath : 'resources/img/public/formimg/'
		});
	});
</script>

<style type="text/css">
body {
	font-size: 12px;
}

.label {
	font-weight: bold;
	color: #369;
	width: 70px;
	text-align: right;
}

.selectElem {
	clear: both;
	width: 350px;
	margin: 5px auto
}
</style>
</head>

<body>
	<center>
		<form action="usermanage/register.do" method="post">
			<input type="hidden" name="userBean.sinaInfoBean.sinaId"
				value="${sinaUserInfo.sinaId}" />
			<div style="text-align: center; margin: 0 auto; width: 650px">
				<div style="margin: 10px 0 20px 0">
					<img src="${sinaUserInfo.profileImg}"
						style="width: 100px; height: 100px" />
				</div>
				<div class="rowElem" style="width: 300px; margin: 0 auto">
					<label class="label">昵称：</label><input type="text"
						name="userBean.userName" value="${sinaUserInfo.screenName}"
						style="width: 200px" />
					<div style="clear: both"></div>
				</div>
				<div class="rowElem" style="width: 300px; margin: 0 auto">
					<label class="label">性別：</label> <input type="radio" id="gender"
						name="userBean.gender" value="m" checked /><label>男</label> <input
						type="radio" id="gender" name="userBean.gender" value="f" /><label>女</label>
				</div>
				<div class="rowElem" style="width: 300px; margin: 0 auto">
					<label class="label">省份：</label><input type="text" name="" value=""
						style="width: 200px" />
					<div style="clear: both"></div>
				</div>
				<div class="rowElem" style="width: 300px; margin: 0 auto">
					<label class="label">城市：</label><input type="text" name="" value=""
						style="width: 200px" />
					<div style="clear: both"></div>
				</div>
				<div class="selectElem">
					<label class="label">主兴趣：</label> <select>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
					</select> <label class="label">兴趣2：</label> <select>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
					</select>
					<div style="clear: both"></div>
				</div>
				<div class="selectElem">
					<label class="label">兴趣3：</label> <select>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
					</select> <label class="label">兴趣4：</label> <select>
						<option value="opt1">音乐</option>
						<option value="opt2">体育</option>
						<option value="opt3">政治</option>
						<option value="opt4">经济</option>
					</select>
					<div style="clear: both"></div>
				</div>

				<div class="rowElem" style="margin-top: 55px">
					<input type="submit" value="确定" /><input type="button" value="取消"  onclick=""/>
				</div>
			</div>
		</form>
	</center>
</body>
</html>
